package cn.dada.dadarecipes.community.article.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.time.LocalDateTime;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class MyArticleVO {
    private Long id;
    private Long userId;
    private String imgUrl;
    private String title;
    private String articleSummary;
    private Integer skimNum;
    private Integer likesTotalNums;
    private Integer comment;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}